//
//  XWeixinAuthorizeDelegate.h
//  XWeixinSDK_Example
//
//  Created by 吴智民 on 2019/11/9.
//  Copyright © 2019 lanchc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/// 微信授权协议
@protocol XWeixinAuthorizeDelegate <NSObject>

/// 微信响应结果
/// @param rCode 0:分享, -1:分享失败 ,-2:分享取消
/// @param rMsg 错误消息
-(void)weixin_authorized:(NSInteger)rCode message:(NSString *)rMsg;

/// 获取统一授权码
/// @param rCode 0:成功, -1:失败 ,-2:取消
/// @param rMsg 错误消息
-(void)weixin_unicode:(NSInteger)rCode message:(NSString *)rMsg;


@end

NS_ASSUME_NONNULL_END
